﻿<!DOCTYPE html>
<html ng-app="happyApp">
<head>
    <meta charset="utf-8">
    <title>JS Bin</title>

</head>
<body ng-controller="SearchController">

    <div class="row">
        <div class="col-sm-6">
            <div ng-repeat="item in items">
                <ul style="list-style-type: none; border: 1px solid white; background-color: rgba(255, 255, 240, 0.5); color:black">
                    <li>Price: {{item.salePrice}} &nbsp; &nbsp; Item Name: {{item.name}}</li>
                    <li></li>
                    <li>Image: <img src='{{item.thumbnailImage}}' height="80" width="80" />&nbsp;<button class="btn btn-success" ng-click="addItem(item)">Save</button></li>

                </ul>
            </div>
        </div>
        <div class="col-sm-6">
            <div ng-repeat="data in etems">

                <ul style="list-style-type: none">
                    <li> Price: {{data.price}}</li>
                    <li> Title: {{data.title}}</li>
                    <li> Photo: <img src='{{data.image}}' height="80" width="80"/>&nbsp;
                    <button class="btn btn-success" ng-click="addEbayItem(data)">Save</button></li>

                </ul>
            </div>
        </div>
    </div>

</body>
</html>